package ru.kop4en.diplom.video;

import java.awt.event.ActionListener;

import javax.swing.JPanel;
import javax.swing.BoxLayout;
import javax.swing.JButton;

public class LeftVideoPanel extends JPanel
{
	private static final long serialVersionUID = 1L;

	public LeftVideoPanel()
	{
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));

		add(prev_button_);
	}

	public void addPrevHandler(ActionListener mainWindow)
	{
		prev_button_.addActionListener(mainWindow);
	}

	// members ===============================================
	JButton prev_button_ = new JButton("Camera");
}
